b2b1a0
@@ -557,7 +557,7 @@
private static FunctionInfo getFunctionInfoFromMetastore(String functionName) {
         try {
           FunctionTask.addFunctionResources(func.getResourceUris());
         } catch (Exception e) {
-          LOG.error("Unable to load resources for " + dbName + "." + fName + ":" + e);
+          LOG.error("Unable to load resources for " + dbName + "." + fName + ":" + e.getMessage(), e);
           return null;
         }
 
